package com.demo.ping.orm.enumeration;

import lombok.Getter;

/**
 * @author Jofo
 */

@Getter
public enum ResponseEnum {
    REQ_SENT_PONG_RESPOND(10, "Request sent & Pong Respond."),
    NOT_SENT_BY_RATE_LIMITED(11, "Request not send as being 'rate limited'."),
    REQ_SENT_PONG_FAIL(21, "Request send & Pong throttled it.");

    private final Integer code;
    private final String reason;

    ResponseEnum(Integer code, String reason){
        this.code = code;
        this.reason = reason;
    }

}
